Type.registerNamespace("BM");

// TextBoxValueHandler object

BM.TextBoxValueHandler = function(leafItem) {
    BM.TextBoxValueHandler.initializeBase(this, [leafItem]);
}

BM.TextBoxValueHandler.prototype = {    

    getInputType: function() {
        var input = this.getInput();
        if (input == null) return null;
        return input.tagName;
    }
}

BM.ValueHandler['TextBoxValueHandler'] = BM.TextBoxValueHandler;
BM.TextBoxValueHandler.registerClass("BM.TextBoxValueHandler", BM.ValueHandler);